package com.study.bob.factory;

import java.util.Calendar;

/**
 * Created by bob on 2016/4/30.
 */
public class TestFactory {
    public static  void main (String args[]){
        SupComputer pc = ComputerFactory.getComputer("pc","2 GB","500 GB","2.4 GHz");
        SupComputer server = ComputerFactory.getComputer("server","16 GB","1 TB","2.9 GHz");
        System.out.println("Factory PC Config::"+pc);
        System.out.println("Factory Server Config::"+server);
        Calendar.getInstance();
    }
}
